
public class job6 {

	public static void main(String[] args) {
		int num=1000;
		int count=0;
		while(num<=100000){
			if(num%7==0){
				count++;
			}
			num++;
		}
		System.out.println("count="+count);
		}
}
